!'use strict';
let roleManagementController = require('../../../app/controller/back/system/roleManagementController');
roleManagementController = ModelProxy(roleManagementController);
let router = require('express').Router();

router.get('/page',roleManagementController.roleManagementPage);
// 账户管理列表
router.post('/list', roleManagementController.roleManagementList);
//账户管理--创建
router.get('/create/page', roleManagementController.roleManagementCreatePage);
router.post('/create/save', roleManagementController.roleManagementCreateSave);
//账户管理——修改
router.get('/update/page', roleManagementController.roleManagementUpdatePage);
router.post('/update/save', roleManagementController.roleManagementUpdateSave);
//分组管理——删除
router.post('/delete', roleManagementController.roleManagementDelete);

module.exports = router;

